package cn.chinamobile.dao;

import cn.chinamobile.entities.Bus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductDao {
    int addProduct(Bus bus);
    List<Bus> getAll();

    int updateProduct(Bus bus);

    int delProduct(@Param("id") String id);
}
